/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package py.una.pol.tesis.ii.wsrest;

import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.UriInfo;

/**
 * REST Web Service
 *
 * @author Leandro
 */
@Path("ciudades")
public class CiudadesResource {

    @Context
    private UriInfo context;

    /**
     * Creates a new instance of PacientesResource
     */
    public CiudadesResource() {
    }

    @POST
    public String crearCiudad(String paciente) {

        return "{cod:0,msj:OK}";
    }

    @DELETE
    @Path("{id}")
    public String deleteCiudad(@PathParam("id") String id) {

        return "";
    }

    @GET
    public String getCiudades() {

        return "";
        //return Response.ok(books).build();
    }
}
